package com.defu.newmall.dao;

import com.defu.newmall.entity.AdminUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminUserDao {
    AdminUser login(@Param("userName") String userName, @Param("password") String passwordMd5);

    AdminUser selectByPrimaryKey(Long adminUserId);

    int updateByPrimaryKeySelective(AdminUser adminUser);

    void deleteByPrimaryKey(Long adminUserId);
}
